package com.wzdigit.wms.basic.mapper.core.inv;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wzdigit.framework.orm.mybatis.MyBatisRepository;
import com.wzdigit.wms.basic.domain.inv.SealDtl;
import com.wzdigit.wms.basic.client.response.inv.SealDtlResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 封库/解封明细 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2021-06-05
 */
@MyBatisRepository
public interface SealDtlMapper extends BaseMapper<SealDtl> {

	List<SealDtlResponse> selectBySealHeaderId(Integer sealHeaderId);
	
	int updateUnsealQty(@Param("sealDtlId")Integer sealDtlId, 
			@Param("unsealQty")Integer unsealQty, @Param("modifyUser")String modifyUser);
}
